package java集合.TreeMap;

import java.util.TreeMap;

public class TreeMapDemo {

    public static void main(String[] args) {
        TreeMap<String, String> treeMap = new TreeMap<>();
        treeMap.put("b","b");
        treeMap.put("e","e");
        treeMap.put("a","a");
        treeMap.forEach((k,v)->{
            System.out.println(k);
        });
    }
}
